"""
字典推导式
"""
students = {
    'jack': 18,
    'rose': 17,
    'lili': 16
}

# b = [key for key, value in students.items()]
b = {value: key for key, value in students.items()}

print(b)
